// @supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
//   .home {
//     bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
//     bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
//   }
// }
// @supports (top: constant(safe-area-inset-top)) or (top: env(safe-area-inset-top)) {
//   .home {
//     top: constant(safe-area-inset-top); /* 兼容 iOS < 11.2 */
//     top: env(safe-area-inset-top); /* 兼容 iOS >= 11.2 */
//   }
// }

@import '../var.less';

.home {
  position: absolute;
  top: var(--edger-safe-area-inset-top);
  bottom: var(--edger-safe-area-inset-bottom);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  :global(.van-nav-bar) {
    background-color: transparent;
    padding: 12px 0;
    &::after {
      border: 0 !important;
    }
    * {
      color: #fff;
      letter-spacing: 8px;
      font-size: 18px;
    }
  }
  :global(.van-tabbar--fixed) {
    position: unset;
  }
  .home-container {
    position: relative;
    flex: 1;
    width: 100%;
    overflow-x: hidden;
    background-color: #fafafa;
    &::after {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 25%;
      background-color: @blue;
      border-bottom-left-radius: 50%;
      border-bottom-right-radius: 50%;
      transform: scaleX(1.1);
    }
    > * {
      z-index: 1;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
  }
  .home-footer {
    box-shadow: 0 -1px 4px 0px #efefef;
    // z-index: 999;
  }
  .authorization {
    padding: 0 24px;
    p {
      font-size: 12px;
      line-height: 20px;
      display: flex;
    }
  }
}
